@ECHO OFF
@rem start msac_msg.bat

clustalw /align /type=protein /infile=MEGA4.fasta /output=fasta /outfile=out.fasta >z
clustalw /tree /infile=out.fasta > z
del z

@rem sed "s/>/#/g" out.fasta >out.tmp
@rem type megaheader.txt out.tmp > out.meg

REM del out.*

del tree.nwk
rename out.ph tree.nwk

start mega4.exe out.fasta

start mega4.exe tree.nwk

@rem start mega4.exe out.meg

taskkill /im wscript.exe
@rem tskill wscript